/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.googlecode.canoe.core.session;

import java.util.Collection;

/**
 *
 * @author panzd
 */
public interface SessionRoleManager extends RoleManager{

    Session getSession(Role user);
    
    Session getSession(long id);

    void addSession(Session session);
    
    void removeSession(Session session);

    Collection<Session> getAllSessions();
}
